'use strict';

function double_to_one(collection) {
  let arr=collection.reduce(
    function reduced(a,b){
      return a.concat(b);
    },[]
  );
  return arr;
  //在这里写入代码
}

module.exports = double_to_one;
